import java.text.ParseException;
import java.util.Properties;

import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;

import serviceInterface.HelperServiceInterface;

public class MockUpData {
	static HelperServiceInterface helperService ;
	public static void main(String [] args){
		Properties properties = new Properties();
		properties.put(Context.INITIAL_CONTEXT_FACTORY,
				"org.apache.openejb.client.RemoteInitialContextFactory");
		properties.put("java.naming.provider.url", "ejbd://localhost:4201");
		Context context;
		try {
			context = new InitialContext(properties);
			helperService = (HelperServiceInterface) context.lookup("HelperServiceRemote"); //JNDI Names in EJB Container
			helperService.createTestSchedule1();
		} catch (NamingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (ParseException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	
	}

}
